Fix bug #10299 with Unicode characters sent on MS-Windows by MSKLC.
authorEli Zaretskii <eliz@gnu.org>
Fri, 10 Aug 2012 06:54:37 +0000 (09:54 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 10 Aug 2012 06:54:37 +0000 (09:54 +0300)
commit8776e5708b8d2127040b3d67974456d8af308829
tree18b7d97d7e8ce9eacc472e384381b52ebecaa091
parent0d63ecadde0904a5ff55b0ff887178b10ab29633
Fix bug #10299 with Unicode characters sent on MS-Windows by MSKLC.

 src/w32fns.c (INIT_WINDOW_CLASS): New macro.
 (w32_init_class): Use it to initialize the Emacs class with either
 ANSI or Unicode API calls.
 (w32_msg_pump): Call GetMessageW and DispatchMessageW on NT and
 later.
 (w32_wnd_proc): If the character code sent by WM_CHAR or
 WM_SYSCHAR is above 255, post a WM_UNICHAR message, not the
 original message.  Call DefWindowProcW on NT and later.
src/ChangeLog
src/w32fns.c